﻿
using UnityEngine;
using System.Collections.Generic;
using System;
using System.IO.Compression;

public class Program : MonoBehaviour
{
    public bool l = false;
    public bool k = false;
    private void Start()
    {
        Debug.Log("打开软件\r\n");


        List<Person> listPerson = new List<Person>();
        Person p;
        for (int i = 0; i < 10; i++)
        {
            p = new Person();
            p.id = i;
            p.name = "N" + i;
            p.dateTime = DateTime.Now;
            listPerson.Add(p);

        }

        listPerson.Sort((x1, x2) => { return x1.id.CompareTo(x2.id); });
        Person[] ps = listPerson.ToArray();
        Array.Reverse(ps);

    }
    private void Update()
    {

        Debug.Log(l ^ k);
    }
    public static int d = 0;
}

class Person
{
    public int id;
    public string name;
    public int age;
    public DateTime dateTime;
}
